Only one task will ever run at once anyway, once the long running task starts, unless you called yieldForMicros(..) nothing else would run.
However, you can suspend tasks using the following on the task manager object:
void setTaskEnabled(taskid_t task, bool ena);