Actually, having thought about it a bit, doing background tasks with threads isn't a hot idea, but you probably don't have much choice with DH.