public function close()
 {
     if (!$this->in_trans) {
         self::$conn_manager->closeAll();
         self::$write_conn = null;
     }
 }