enabled keepalive on socket