Maximum queue size implemented.