move time.sleep to the cluster setup method