NicosKaralis/pushmeup — pull request #32 by sergio-ago (2014-05-28 21:15:57+00:00)
Title: Check socket and ssl connection exist before closing.

As the socket or the ssl connection might not be initialized when
closing, we need to check its existance before doing it.