Fix gpload exiting before cleaning up
Fix gpload exiting before cleaning up

gpload.cleanupSql() in the `finally` block may throw a `SystemExit`
exception, which will not be caught by `except Exception:` and exit
before cleaning up others like gpfdist processes.

This commit catches `SystemExit`, and do the stop_gpfdists() before
cleanupSql() to avoid this situation.

Signed-off-by: Adam Lee <b42a6d93d796915222f6ffb2ffdd6137d93c1cdb@pivotal.io>
Signed-off-by: Xiaoran Wang <cfd6c5e9915854df7dc714e3622701ef0598b878@pivotal.io>

yuanzhao/gpdb,greenplum-db/gpdb,kaknikhil/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,Chibin/gpdb,adam8157/gpdb,Chibin/gpdb,Quikling/gpdb,adam8157/gpdb,Chibin/gpdb,janebeckman/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,50wu/gpdb,edespino/gpdb,adam8157/gpdb,Quikling/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,edespino/gpdb,xinzweb/gpdb,rvs/gpdb,jmcatamney/gpdb,lisakowen/gpdb,edespino/gpdb,ashwinstar/gpdb,kaknikhil/gpdb,Quikling/gpdb,kaknikhil/gpdb,50wu/gpdb,yuanzhao/gpdb,jmcatamney/gpdb,Quikling/gpdb,greenplum-db/gpdb,yuanzhao/gpdb,lisakowen/gpdb,kaknikhil/gpdb,jmcatamney/gpdb,cjcjameson/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,Quikling/gpdb,50wu/gpdb,janebeckman/gpdb,jmcatamney/gpdb,xinzweb/gpdb,cjcjameson/gpdb,edespino/gpdb,janebeckman/gpdb,ashwinstar/gpdb,rvs/gpdb,adam8157/gpdb,janebeckman/gpdb,cjcjameson/gpdb,janebeckman/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,lisakowen/gpdb,lisakowen/gpdb,yuanzhao/gpdb,Quikling/gpdb,kaknikhil/gpdb,lisakowen/gpdb,lisakowen/gpdb,rvs/gpdb,50wu/gpdb,janebeckman/gpdb,xinzweb/gpdb,rvs/gpdb,ashwinstar/gpdb,lisakowen/gpdb,Quikling/gpdb,rvs/gpdb,greenplum-db/gpdb,rvs/gpdb,xinzweb/gpdb,Quikling/gpdb,cjcjameson/gpdb,adam8157/gpdb,Chibin/gpdb,edespino/gpdb,rvs/gpdb,greenplum-db/gpdb,cjcjameson/gpdb,greenplum-db/gpdb,jmcatamney/gpdb,xinzweb/gpdb,rvs/gpdb,edespino/gpdb,jmcatamney/gpdb,rvs/gpdb,xinzweb/gpdb,adam8157/gpdb,50wu/gpdb,janebeckman/gpdb,jmcatamney/gpdb,cjcjameson/gpdb,Chibin/gpdb,50wu/gpdb,Quikling/gpdb,edespino/gpdb,yuanzhao/gpdb,Chibin/gpdb,adam8157/gpdb,Chibin/gpdb,jmcatamney/gpdb,kaknikhil/gpdb,yuanzhao/gpdb,yuanzhao/gpdb,edespino/gpdb,Quikling/gpdb,janebeckman/gpdb,adam8157/gpdb,xinzweb/gpdb,kaknikhil/gpdb,edespino/gpdb,50wu/gpdb,50wu/gpdb,janebeckman/gpdb,ashwinstar/gpdb,lisakowen/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,Chibin/gpdb,yuanzhao/gpdb,ashwinstar/gpdb,cjcjameson/gpdb,Chibin/gpdb,janebeckman/gpdb,edespino/gpdb,Chibin/gpdb,xinzweb/gpdb,rvs/gpdb