Add mutex between processes.