MAPREDUCE-5542. Killing a job just as it finishes can generate an NPE in client. Contributed by Rohith