Add more docs; close connection when done.