(ITS#4793) connection_get race condition on Windows