Releasing resources associated with a RTS worker thread?