[ruby-core:112445] [Ruby master Bug#19441] Closing an IO#dup behaviour