set timer and receiver thread to daemon (jvm exit even if websocket did not closed)