better handling of mode changes
prevent (and log) instance id count going negative
handle slow/missing cron jobs