Fix connection leak

Fix a connection leak. This one happens whenever a call is made to an API that is not expected to return anything in the body.