Trouble running with --threads:on
Hello, I'm reporting some trouble I've been having trying to run Prologue with --threads:on

Here is my basic server:

```nim
import prologue

proc hello*(ctx: Context) {.async.} =
  resp "abcdefghijklmnopqrstuvwxyz"

let app = newApp()
app.get("/", hello)
app.run()
```

Then I test the server with `wrk -t10 -c100 -d10s http://localhost:8080`

Everything works as expected with:

`nim c --mm:orc --threads:off -d:release -r tests/wrk_prologue.nim`

However, the server segfaults when built with --threads:on

`nim c --mm:orc --threads:on -d:release -r tests/wrk_prologue.nim`

This is being built and run on an Ubuntu 22.04 server.

```
Nim Compiler Version 1.6.10 [Linux: amd64]
Compiled at 2022-11-21
Copyright (c) 2006-2021 by Andreas Rumpf

git hash: f1519259f85cbdf2d5ff617c6a5534fcd2ff6942
active boot switches: -d:release
```

Is this maybe just happening for me? I'll try again in a while and see if things repeat.