Fix deadlock due to call to fm_job_run_sync_with_mainloop().