Pass connection errors on to the callee through the close_handler.