Pull request for Issue1046 - REIXS XES scans won't skip

While this solves the problem, and it makes sense, I'm not 100% sure of the function or timing of 
```scanControllerStateMachineFinished_ = true```, @dretrex, @davidChevrier if you could confirm that I'm not breaking something fundamental?