Register shutdown function only after transaction start. No need to register it again on savepoint.
Register shutdown function only after transaction start. No need to register it again on savepoint.

smetana/tipy