HDFS-7065. Pipeline close recovery race can cause block corruption.
Contributed by Kihwal Lee.