Message if portal suspended in autocommit

Give a proper error message if the portal is suspended while in
autocommit mode. The error is that the portal is closed when the
transaction is closed, and so in autocommit mode the portal will be
immediately closed.