https://medium.com/@akshatjain9413440368/running-multiple-functions-in-parallel-with-a-while-loop-step-by-step-guide-49472997382c