Fix reference to 'this' in ping error handler

Signed-off-by: Don Naegely <naegelyd@gmail.com>