added leave cluster call if node exits cluster + added after cluster initialization cluster commit calls
fixes
small fix