Collect and send thread state