Minor fixes in socketWorkers