decoder: serialize reset with mutex