Replace ping packets by ping wait seconds.
This helps automation in case ping gets stuck.

Change-Id: I5fad25babbaf2fb80e26d5ab3bf525819f5887f5
Signed-off-by: Luis Gomez <ecelgp@gmail.com>