Create publisher in worker thread rather than constructor