private void HandleCloseCommand() { _connectionRegistry.CloseConnection(_connection); _connection.Close(); }