Async tasks now shutdown correctly.