Related-Bug: #1390392

While polling vCenter task status to know whether completed or not,
Currently it only checks for success status and if not it will continue
polling.
Added check to see if task status is "error" and if yes, stop polling task
status and retrun error to handler

Change-Id: I5aba5e5ac8302a788bc12f66dd151e42ffa7e8be
Merge "Related-Bug: #1390392"