remove call to nonexistant callback
log error on failing to get a lock
use redback for locking
Added missing locking documentation
Moved redbac require to the top of the locking file