when connect.state is pending it rejects and destroys the client after errorWait milliseconds