fix edge case race condition in queue bounding