fix for 'forever pending' jobs