Fixing terminate all and handleClusterStatusEvent handler to use instance id