ensure that gateway_info is completely available before adding a ping to...

... that machine. closes #198