Fixed MySQL Too many connections error