public static function close()
 {
     if (self::$conn) {
         //Aplica as operações realizadas durante a transação
         self::$conn->commit();
         self::$conn = NULL;
     }
 }