Fix timeElapsedOver5Seconds deadlock situation by defaulting time to 0 instead of System.currentTime