I am attempting to retrieve data from a database in the getStaticPaths function. However, this hangs because the database connection is not established at the time.