Make javelin2's ping for longer

Since as far as I can tell ping doesn't have a good way to ping until it
gets a response or until x seconds pass, use a python loop to do it
instead.

Change-Id: If05c373f30f515af82fecf2347d7f7c1a5824287
Merge "Make javelin2's ping for longer"