Clear simuleted kmalloc heap on teardown