fix tools.sessions.locking explicit error