Fix the monitor's run loop.