correct socket keep alive parameter