I would recommend we add a cleanup function for freeing the request structure and the context object when all processing is complete, otherwise this application is leaking memory.