Set a connect timeout as otherwise it will wait to long on OSX