Send abort message when closing socket