Use destroy listener to see if the resource hold by buffer container is
gone.