Hello Alexandre,
Freeing each module once should be enough, even if they happen to be the same.
That messes with the timing though. I guess I could make sure all dlls are freed first, then running the cleanup routine. I'll send in an updated patch soon.
Regards, Fabian Maurer