Handling asynchronous requests