[SP-1599] Wrong config parameters in Util.getExecutorService causes exce...

...ption - applying Luc's patch