Refactor run_parallel to is_monitor.