dispatcher: Make add_task fail if the system is not running