Completed retrieve_completed_tasks method