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