How to remove proxy setting when direct access is available