`remove broken symlinks` bug: cannot reproduce
implement write operation locks to allow running kiin concurrently
acquire write lock for db creation too