BUGFIX: recovery code in case an unknown job is scheduled