Fix handling of nextPongDeadline: send pongs every n seconds instead of all the time