With just four minutes left at Anfield, Arne Slot's Liverpool were in danger of losing for just the second time in 15 top-flight games this season.