Take care of db closed connections

What about a context manager?