Both while I am in the sector and out. I think. Could just be that they stop shortly after I get back in too though. Haven't tried to compare timestamps on the logs to see at exactly what moment it happens. Happy to check if it'll help...
I can believe the station moved... I tend to bump into the stations quite a bit, esp. when flying the big 15 slot ship. I believe it may also be when their docking get's "interrupted" by NPC traders. I have upwards of 30 NPC traders in the system at any given point. I have a couple times seen them "stuck" on a NPC trader ship... generally have to move them manually, let the trader pass and then restart the haulgoods process.
Looking forward to an update. Thanks :)