[WORKAROUND] detach messes up the memory.

Implement a giant leak for now, and revisit this later.