XNIO-235. use doPrivileged() block to shut down executor
Merge pull request #77 from istudens/XNIO-235-3.0

XNIO-235. use doPrivileged() block to shut down executor