fixed PING_TIMEOUT being set to 0