Remove older jobs from the queue if queue is getting too big.