extra_cxs: don't execute the loop inside extra_cxs() for ever

Goal: In the previous commit, once the loop inside extra_cxs() is triggered,
      set_extra_cxs() has to be called again in order to disable extra spinning.
      This commit removes this limitation so that the loop in extra_cxs() is
      only executed until the limit is reached.