Add ability to wait for network ping to return