Stumbled over a very rare deadlock. Fixed.