Bugfix in unlock, correctly count number of busy messages

Signed-off-by: Rick Copeland <rick@arborian.com>