fix issue with failed cloud jobs never being recognized as failed