context: concurrent access-safe of subcmds