Call quit instead of sys.exit
Use SSL for downloading topic model
Remove calls to quit()