How to know it's time to leave, from a… • Delphi