Parse and calculate queue time properly