MAINT: only make a single instance of app and conn handler