Replaced all async voids with Task.Run. Fixes exception in web applications.