Delete thread.py