Only deactivate previously running jobs if we are running on master cluster.