Checking if a Local Dask Cluster is Running
One thing that I find myself doing fairly often is spinning up a local Dask cluster, forgetting that it is running, and then starting it up again on a different port. This is here as a reminder that you can first try
to connect to the cluster and, if it times out, then create the LocalCluster
on the fly:
Since I always forget how to do this, I hope that others will find this helpful!