@SuppressWarnings("unchecked")
        @Override
        protected Void doInBackground() {
            try {
                setProgress(0, 0, 4);
                setMessage("Starting...");

                boolean gotSQLExc = false;
                gotSQLExc = JavaDBAccess.StopDatabase();
                if (!gotSQLExc) {
                    setMessage("Database did not shut down normally");
                    System.out.println("Database did not shut down normally");
                } else {
                    setMessage("Database shut down normally");
                    System.out.println("Database shut down normally");
                }

                setProgress(4, 0, 4);

            } catch (Throwable e) {
                System.out.println("exception thrown:");

                if (e instanceof SQLException) {
                    JavaDBAccess.printSQLError((SQLException) e);
                } else {
                    e.printStackTrace();
                }
            }
            return null;
        }