Potientally fixed the conditions where the queue would freeze up.