(core) Add `stop` method