HADOOP-9894. Race condition in Shell leads to logged error stream handling exceptions (Arpit Agarwal)