Prevent using savepoint() in failed block