improvements in sinsp_thread_manager::remove_inactive_threads:

- force the removal of threads that have actually been closed
- rebalance the parent/child relationships in the thread table