Did not unlock at the correct time.
Fixes deadlock in test leader flapping.  It still has a bug though.