Added spin lock

Protects against spurious wakeup.