When unexpected state found in waiting, notify the caller func with a correct error message