always use locking; add 'lock_timeout' setting