Small cleanup.
Implemented -isConnecting, which can be used to wait for re-connects to time out.