use only milliseconds for keep alive, change to 2.5 seconds and 10 second limit