Added an error threshold to the queue