Keep local state across {get,release}_snapshot calls so that the correct data is read.