Display messages in correct order with polling