Adding some missing generics to IExecutorService

Fixes #4234