Setup socket AFTER websocket is handled and kill jobs even if not "connected"

Make sure to cleanup jobs even if were not connected.
Socket might be in state NEW if websocket failed, create socket when were ready for it instead