autoStopCluster function

Sub-function to auto-stop the clusters created for parallel processes