clear empty threads, helps horrible timeout issues