An adaptive milking system comprising a memory operable to store a default threshold flow rate; and a processor operable to: measure a flow rate of milking an animal during a first period of time, calculate a percentage of the measured flow rate; monitor the flow rate of milking the animal; trigger a delay timer when the monitored flow rate of milking the animal becomes lower than the larger of (a) a default threshold flow rate and (b) the calculated percentage of the measured flow rate; and generate a control signal to stop the milking process when the delay timer reaches a threshold time.