For some reason, bin/phd stop --graceful forcibly stops any Harbormaster Run Command tasks, even when the graceful timeout is set high. I'm pretty sure it actually applies to anything that checks for an abort status on a regular basis, but once the interrupt signal is sent via the overseer, it terminates the build unexpectedly.
Instead, it should wait until the current task (Harbormaster Run Command) is complete.