Provisionally encapsulated network mode logic in worker. Live test pending.