soft exit when stdin ends