Add temp dir cleaning