Solved with: fflush(stderr); fflush(stdout); Many thanks John and Amos! >>>> *cp = '\0'; } ... fflush(stderr); fflush(stdout); } >> I can't figure out why the requests are being queued indefinitely in the >> helper. > > Are you flushing stdout? > > JD -- Mohamed Amine Kadimi Tél : +212 (0) 675 72 36 45