Fix type error
Send ping and use pong to calculate timeout