Fix blocking HEAD request