moved connection to ConnectionThreadLocal