New enhanced multithread connection model with dynamic timeout