Execute the queue of work only if the config is setted.
Simplify.