Hopefully this fixes the bug.
I forgot I was ignoring messages without a prefix so the PING message was being ignored.