Presumably you'll need to wait here until it's finished stopping?  And notice that if stopping a service fails, the node could get fenced, in which case the next step of deleting `corosync.conf` will fail ...