bpm-002694, fix mi loop for subprocess