It might be possible to use * 'WSAEventSelect', or * 'AcceptEx' to make `accept` call interruptible without running it in a seprate thread.