add timeout on ConnectUnix and tests