connmgr: Fix attempt to take mutex recursively when exiting fail-open.