Clean up `Connection`.