handle gc of batch jobs