Fixed possible infinite block in the enqueue methods if block_on_overflow strategy was used.