Close ActiveRecord connections in every entry point in the service