[SPARK-4606] Send EOF to child JVM when there's no more data to read.