Added simple error handling for failed remote jobs