710:Session terminated by shutdown (work rolled back) 
Your transaction was implicitly canceled and rolled back by an implicit ROLLBACK statement. The database session was terminated implicitly because the database manager forced a shutdown of the database instance. 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.