see if this impacts performance
remove error measure func
without purpose
remove string concat
increase idle timeout
make an env parsing helper