Test how long an internet connection stays up.