Bug fix: some available arena was not protected when the VM is detached from thread.