Enhanced thread chunk assertions to properly cope with cross-thread freeing.