Created Task helper with FromResult methods to removed taskcompletionsource duplication