Set the socket timeout to one minute to avoid hangs