Removing db.session.rollback, this sometimes raises exceptions unexpectedly and does not really contribute anything especially since the session should already be cleaned up by the Flask request context