Stop running yarn when restart or stop galaxy