Support for multiple spark servers via thread local.