Catch system exceptions when checking for running delayed_job processes