call read_start/read_stop only when necessary (and do the checks whether or not to stop parsing within `parse_input` (10% faster for 4K response)