hack to allow early exits from a pre_job hook