Disconnect regardless of the connection state.

If we are connected, disconnect, if we are trying to connect, stop trying.

API Documentation for Twisted, generated by pydoctor at 2017-06-11 10:59:01.