Abort if any error occurs

Abort if issueCommand or uploading fails