Fixed problem where the scheduled executor did not wait for tasks to complete during shutdown, potentially causing random test case failures.
Fixed problem where the scheduled executor did not wait for tasks to complete during shutdown, potentially causing random test case failures.

alkacon/opencms-core,alkacon/opencms-core,alkacon/opencms-core,gallardo/opencms-core,alkacon/opencms-core,gallardo/opencms-core,gallardo/opencms-core,gallardo/opencms-core