Partial thread safe async network I/O implementation