presto-cli/src/main/java/io/prestosql/cli/OutputHandler.java/OutputHandler/putOrThrow
class OutputHandler:    private static <E> void putOrThrow(BlockingQueue<E> blockingQueue, E element)
    {
        try {
            blockingQueue.put(element);
        }
        catch (InterruptedException e) {
            Thread.currentThread().interrupt();
            throw new RuntimeException(e);
        }
    }