Could you please tell us why you need to unload xaaes ? I don't see any obvious reason (it doesn't mean there is none).
To get the memory back: I fixed the bug that prevented one to quit xaaes. -Helmut