Avoid test hang when network slow/down.