Fixed a flaky ping timeout test.