Multiple fixes

 - Adding option to prevent rollback in case of successful execution of a destructive operation that is not reversible (deleting gear on the node)
 - Checking for the existence of the application after obtaining the lock