rollback session if there's an exception