Break when status code handler is finished

Fixes #1667. I don't think it makes sense to run through all status code handlers even after one has been called. This will try to find a custom handler and fall back on the `DefaultStatusCodeHandler` if no custom handler is found.