Restart any desktop instances started by the testrunner
Cleanup profile when restarting B2G on devices. Fixes issue #543