Check for socket before attempting to close - related to bug at ekulyk/PythonPusherClient#14
Merge pull request #115 from ekulyk/pusherclient-fix-14

Check for socket before attempting to close - related to bug at ekulyk/P...