Delay task loading until it's necessary