Fixes #4522: Adapt send-clean.sh script to retry inventory sending when endpoint returns 503 code