Add removing files form temp and terminating instance.