Adding retries to jobkill script. Also checking whether the kill succeeded in JobManager.