According to @josteinaj this has been an issue in the past and he thought it had been resolved already. But on our test server we still have a bunch of jobs that are in the running state forever. I think this is almost always the result of a reboot of the engine while a job was running.