Implemented executor service task cancellation.