[PATCH] NetTestCommand: use custom signal handler function instead of SIG_IGN