fix blocking on long output in utils::io::cmd