introduce mongo locking (and utilities)
cosmetic