Optionally kill the connection on ping.