---------thread closed