[PATCH v2 4/5] httpapi: Wait for overlapped I/O completion only if ERROR_IO_PENDING is returned.