Use requests-transition, and remove sys.exit calls