reduce scope of lock in deferred callback invocation, mark beta5