ethpipe.c: check number of open process