lcw.c: return -1 in case parent process is interrupted.