send string to thread