Added handling of Unauthorized exception

clear_resources method tries to release resources
and it should not raise exceptions if resource is
already deleted or client unauthorized to delete.