udp-turn: Restore global locks

The socket abstraction not being reference counted, we need a global
lock for them in the short term.
1 job for no-global-lock in 56 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #36333
build-and-test

00:00:56