use set value for keep alive time.