One in every N requests when this method is called, it seems to acquire a database connection.
This is not ideal in terms of performance (for startup module regeneration), and adds an extra dependency that would be best to avoid for the code to work (quickly) even when e .g. the database might be having issues temporarily.