Fixed ping-pong handler.