Is there an easy way to set timeouts with asyncsockets?
I found this discussion but the approach is rather convoluted: https://forum.nim-lang.org/t/7287