fix keepalive timeout