shutdown if not in database