if started as a temporary server, count only external clients when deciding whether to keep running