clean up after processing by destroying the loaded images