Rams lose a heartbreaker to Maine