Safe disposing of HttpDataProvider instance