catch the exception of restarting adb service. rename the out put file of test result.