Fix reference to 'this' in ping error handler

Signed-off-by: Don Naegely <naegelyd@gmail.com>
Merge pull request #734 from cbmi/issue-728

Fix reference to 'this' in ping error handler