DirectX11 example: closing all handler/resources in Cleanup.