cioloop::stop() => added locks