The official documentation states that: "Many applications use one database and would never need to close it (it will be closed when the application is terminated). If you want to release resources, you can close the database."