Bug 878914 - Fix race condition in marionette testrunner;r=jgriffin