[1.9.x] + minor threads cleanup, use ioThreads config value, fix tests