add TODO: block release of images that are still in the output queue