reset bad message count to zero after a successful API message; reset tick to zero upon new connection