Fix hanging "loading..." when return header is 404 (mostly seen on star requests).