Edit: Nevermind, release of the lock is automatic when the callback resolves its promise. I get it now.