Closed connections to DB on a couple of APIs