Removed redundant `throw` and unused return value.
Removed unused return type in ExecutorServiceProxy.
Merge pull request #3535 from ajermakovics/minor-cleanup

Removed redundant `throw` and unused return type.