Fix incorrect launch order of processes