Disconnect method.