BTW, do you mind fixing the comments... I think it's out of date according to your finding......the user program can call sc.stop() to explicitly exit the Executor now, and the return value is 0....