strophe/strophejs — pull request #92 by giladbeeri (2014-10-21 18:06:57+00:00)
Title: Abort all pending requests in disconnect(), even if the connection was made yet

If the Connection object is in the middle of the connection process (so `this.connected === false`), calls to `disconnect()` doesn't do anything, even though there are pending requests in the queue.
This change makes disconnect() abort all requests in all cases.