libfreerdp-core: fix TCP connection timeout (non-Windows)