Fix issue with stats thread creating a concurrent modification issue with the list of flow futures
More work on improving MiniClusterPlatform