clear deprecation warning on client error - fix test race