Had not been releasing locks when signalling.