The user's transaction was implicitly canceled and reset by a ROLLBACK statement. The database session was terminated because the database management system forced the database instance to shut down. To speed up a later restart, the database system tries to reset and not just terminate open transactions within a short period.
Once the database is ready, you must repeat the CONNECT statement and the transaction.