fix ipc disconnected monitor bug