Fixed non termination of Executor backend, when sc.stop is not called and system.exit instead.

A simple fix suggestion.