Initialize lastPingTime to current time before starting KeepAliveThread loop. Probably fixes #41