Turn the async tasks into static class to lessen the chance of leaks.