Fix issue with arduino directory not cleanup