Fixes failure of enabling target mode, if do it too fast. Based on work by sdrb ...