pause method
Implementation
bool pause(int token) {
SelectTask st = _select(token);
if (!st.exists) return false;
TaskDownload dw = st.task!;
if (!dw.status.pause) {
dw.resume = dw.root.pause();
dw.status.pause = true;
return true;
}
return false;
}