waitPerform: added validation for checking the status of perform job.