Acquiring a spinlock with one try does not work