Disable migratable memory when the user's thread finishes.