Implement connection_close() callback.