just returning here will result in a timeout on the other end, i think. You could add `callback(new customError("Malformed html","apierror"));`