Test cancel task with only one worker raises http client or server error