Removed queue size constraint which could lead to deadlocks.