Text this: An exact method for quantifying the reliability of end-of-epidemic declarations in real time.