Suspend and resume URLSessionTasks.