Closes the HTTP client and releases resources. Should be called when the tile provider is no longer needed.