Acquire wake-/wifilock before cloning

This PR fixes #91.
You might wan't to add the wakelock in a more general way or in additional methods, so other commands benefit from it as well.