Control-C seems to break scanner