Your transaction was implicitly cancelled and rolled back by an implicit <ROLLBACK statement>. The database session was terminated because the database administration tool shut the database 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, repeat the CONNECT statement and the transaction.