stop waiting by cas but only the first part