Prevent 500 if hook url is down, fixes #7376
Merge pull request #7393 from Razer6/fix_500_hook_service_down

Prevent 500 if hook url is down when testing a hook, fixes #7376