Delete temporary directory after success.