Add PR #7 - improve ping sending.