So the last couple of nights it's been stopping again. Now I've noticed how to reproduce it. It only happens when I'm using ekos and phd2 at the same time. It doesn't seem to last long enough to finish a calibration. I'll try and see if I can get some useful logs.