Fix modes thread pool size