replace pending queue to a flexible queue in job.acknowledge