Ryan: Will agree to close loopholes if used to