Mock Static Multi Thread In Python Example