Include DestroyThread function.