Destroy image when it is done processing.