Bug fix and release

Fix a locking condition