bug fixed too many connections