added new configuration for multithread connections