Implement the long-running request(Listing 13.38)