Fixed ping timeout code breaking on reconnect.
0.5.7