Release the connection