change how Worker works, store connections in worker