Application crash when I add thread in VC

I want to use Multithreading in VC.I do it like this.

  1. Create a new component.
  2. Add a Block feature as a visual for finding the component.
  3. Add a Python Script behavior.
  4. In the script editor, add the following and then compile.

import threading

def hello():
print(‘hello world’)

t = threading.Timer(10.0,hello)
t.start()

But the Application crash.