Hey Jonathan 👋
We have a Feature Request for this use case:
#13264
If you could leave a 👍 to the request it would help our team in prioritising it.
At the moment there is no way, Prisma lazily connects to the database when the first query is executed.
You could explicitly use
$connect or
$disconnect though.