added thread in parent process ... read is not performing well (maybe because of read block - if so then no information was transmitted to client)