For some reason locking didn't quite work.