fix Windows nonblocking socket I/O performance