Fix no report of failures in tests causd by process.exit() call after all connections closed.