refactor stop keepalive