Reproduce "ArgumentError: this IO is already registered with selector" systematically.