Release DB connection after calling define_attribute_methods

This seems to be taking up a database connection per-process that's not being checked back in. I believe define_attribute_methods is usually called in the context of a request, which means its connection would be checked back in by Rails when the request finishes.
Log # connections when worker boots