fix race condition when starting mon_daemon