reset reconnect tries to 0 after a succesfull reconnect