Allow ^D (EOF) to terminate the session.