Remove CAS loop in release of ticket_lock.

1 job for master in 9 minutes and 19 seconds (queued for 1 second)