argon/node-apn — pull request #230 by AntonSotirov (2014-10-30 13:27:50+00:00)
Title: Clear `connectionTimer` when a socket is closed

Otherwise, when the timer expires socket.end() is called that causes a TypeError inside node libraries.
Fixes #217