[Haskell-cafe] Protecting against main thread exit