Reading stdin may cause your JVM to hang