Ensure main thread stack is dumped