[Reviewer: Matt] Fix for memory leak

Matt, can you please review this small change to the httpconnection_test UT, to stop a memory leak.