Chapter 7. fix concurrent task