jdbc worked for upload, app can't quit normally