Close connection.