The Sub hc_ResponseError is a part from the HttpUtilsService-Modul.
Sub hc_ResponseError (Response As HttpResponse, Reason As String, StatusCode As Int, TaskId As Int)
countWorking = countWorking - 1
finishTasks = finishTasks + 1
HandleError(TaskId, Reason)
If Response <> Null Then ' OK or Error
Log(Response.GetString("UTF8"))
Response.Release
End If
ProcessNextTask
End Sub