i am trying to display a typing indicator before showing a message, i have tried the code below but it only displays the typing indicator once (only for the first me