simplify test for leaking stream in Mojo::UserAgent