Fix spinlock reliability