Buffered queue java. next() if I close a System.

Buffered queue java. AtomicReference; import com.