Tidying up DistributedThreadTests