Use keepalive on socket in case of router hard reset