I got the same error here, when sending the files async and sync, after disposing the objects, after cleaning the attachments.

So the only solution that i see to move the files immediately after the send it's this way... or something similar.