ensure ping thread does not die from exceptions