added new function, portalExec_start(), to support synchronous startup of listener thread