[PATCH] NetTestCommand: change exception handling