For offline running, only add the monitoring in case doHLTMon is enabled. This fixes problems with serial jobs where the monitoring is supposed to be disabled.
doHLTMon
Closes ATR-26571.