Why is my chat message displayed late?