Fix infinite loop when closing a DDP Connection

Found it! When calling close it would attempt to reconnect since
`auto_reconnect` is set to true by default.
Use `isClosing` to represent if a socket has been closed
Merge pull request #17 from Tarangp/master

Fix infinite loop when calling close when auto_reconnect is enabled