NullPointerException on mapreduce @JobSupervisor.checkFullyProcessed (maintenance)

Due to concurrency it is possible that multiple threads try to start the final processing state in the JobSupervisor.
Fixed #3952