Added synchronization to new ipc mechanism.