rewrite corosync cleanup method