End event isn't firing so I'm trying to match the current time against the duration