I think you should also reset `static::$cliHandler`