Quick fix to make executeAsync not put appium in a bad state for later commands (like snapshot)
Added some debug output