reset retrycount upon successful connection