add comment to justify the import of threading module