Allow ^D (EOF) to terminate the session

Or, at least, to terminate the session without printing an error.