diff --git a/peer.go b/peer.go
index <HASH>..<HASH> 100644
--- a/peer.go
+++ b/peer.go
@@ -1234,6 +1234,7 @@ func newOutboundPeer(s *server, addr string, persistent bool) *peer {
 				// Connection was successful so log it and start peer.
 				log.Infof("[SRVR] Connected to %s", conn.RemoteAddr())
 				p.conn = conn
+				p.retrycount = 0
 				p.Start()
 			} else {
 				p.server.donePeers <- p
reset retrycount upon successful connection