memory: Fix a leak in AsyncHTTPClient shutdown.

This fix is based on
https://github.com/tornadoweb/tornado/commit/8953e9beb1e376d9d907c77e61e0e628245de35d

Change-Id: Ic7b3b19204c72741600872c4391f05ff23a94163
1 file changed