BATCH-2242: Stopping a job in STARTING state throws OptimisticLockingFailureException