Python: How to wait until all threads finish | Hacker News Reader