Added executor service and timeout tests.