fixed leak of idle connections