Close D3D11 devices on re-initialization