add finished statement to log.