Avoid double declaration of the contant RAVEN_CLIENT_END_REACHED

Warning suppression is not a good pratice (for perf and debug reasons).

Alternative to fa7158134f262d99e919e908503a44046fd9224e