Prevent deadlock when stopping a long polling connection in .NET

- If the disconnect command is received from the server without an
  abort request having been made, the connection will remain open.