scheduler: return False to dlp in case of error
scheduler: more robust test to check if command is failed
scheduler: return remaining attempts for the command to DLP