updated calls to DoDeviceOperation
Now only the device operation happens in that context.  The next step is to make DoDeviceOperation perform automatic retries.