Fixed swallowing of connect error by posix driver.