add disconnect mysql function