fix bug #148, add job to instance_pool only if there's retry to process