Memory exhausts rapidly when closing stream after writing/reading with --gc:arc on Windows10
Tried
```nim
    proc sendFileStreamHandler(api: DaemonAPI, stream: P2PStream) {.async.} =
      {.gcsafe.}:
        var name: string
        var length: int
        while true:
          var line = await stream.transp.readLine()
          if line == "":
            continue
          var parts = line.split(":")
          name = parts[0]
          length = parts[1].parseInt
          var buffer = newString(length)
          await stream.transp.readExactly(buffer[0].addr, length)
          writeFile(name, buffer)
          discard await stream.transp.write "received\r\n"
```
```nim
    proc requestFileStreamHandler(api: DaemonAPI, stream: P2PStream) {.async.} =
      {.gcsafe.}:
        consoleString = peerDomainTable[$stream.peer] & strformat.`&` "\r\n"
        console.add consoleString
        var content = ""
        while true:
            if stop: break
            var line = await stream.transp.readLine()
            if len(line) == 0:
                continue
            if fileTable.hasKey line:
              content = readFile(fileTable[line])
              echo await stream.transp.write $content.len & "\r\n"
              echo await stream.transp.write content 
```
```nim
    await data.api.addHandler(RequestProtocols, requestFileStreamHandler)
    await data.api.addHandler(SendProtocols, sendFileStreamHandler)
```
