where would I capture SIGTERM and SIGINT and close a db pool? - TanStack