Add a stupid way of checking if the database connection is still alive,
and a bit of documentation.