TestNG with DataProvider on Multiple Devices

TestNG with DataProvider I have a multidimensional object that passes the device information for each device. Example object{ {device name, deviceUdid}, {device1, device2} }

After running a @Test the app closes and reopens on the next @Test. My app does a video connection that I need for all @Test. How do I keep the app from closing until all @Test are done and then continue all @Test for the next device?