Fix Bug Where Appium Crashes after Running for Hours

Closing my FileHandles