Add cancellation and some using statements to DataLoader