[ruby-core:123254] [Ruby Bug#21188] PRISM does not end reading from tty with ^D twice