threadcommunicator: cleanup