Update multithreading_functions.py