Bugfix with job.isRunning()