socket init on startup fixed
worker made stoppable