IEnumerator changer()
    {
        docall = false;
        yield return(new WaitForSeconds(10)); //Count is the amount of time in seconds that you want to wait..

        Debug.Log("changer");

        levelLoader.ChangeGameMode(_api);

        //And here goes your method of resetting the game...
        docall = true;
        yield return(null);
    }