Add flag to disable workqueue