Avoiding random crashes when multithreading Qt | Hacker News Reader