Rollback session after a failed commit.