Added missing scoped mutex for simplecontroller