[SPARK-2677][SPARK-2717]BasicBlockFetchIterator#next can wait forever