on.exit for stopCluster