Avoiding random crashes when multithreading Qt | Dark Hacker News