Fix #304 Too many open files

As the HttpClient's handler is not shared anymore, we need to ensure that the HttpClient is disposed after done using it.