display duration for long task while running