接続を閉じる

To close the database connection, simply call the close() method to the Connection:

データベース接続を閉ざすには、単に Connection インスタンスの close() メソッドを呼び出します。

db.close();