Fixed server->task core dump.