primus/primus — pull request #239 by lpinca (2014-05-18 15:39:17+00:00)
Title: Stop the reconnection procedure when `primus.end` is called

When the connection is opened manually it could be useful to have a way to stop the reconnection without disabling it completely.
For example before calling `primus.open()`, a developer could use `primus.end()` to ensure that the connection is closed and primus isn't trying or planning to reconnect.
This patches `primus.end()` to make it possible.