Modified logic to send the 404 to minimize code duplication and also
while investigating the 404 resource starvation issue. Was able to fix
the later by always reading the contents of a response from the server
regardless of an error or not which makes me suspect an async wait is
done for such a read on the server side for a channel to be freed.