limited worker threads when in local mode