check can_keepalive