Tweak stdout buffer to not require 2 calls of get_response_reader