Function dependency module loading too slowly

Hello, I have a few functions that are importing the googleapis module that is set up as a dependency. Looking at the logs (filtered for functions) I could see that sometimes they take more than 10 seconds to return (I saw 24!) and sometimes it’s normal (1-2 seconds).
I did some logging, looking at the timestamps before importing googleapis, after importing and when returning (after doing some work) and it’s obvious that >90% of the time is spend in the module import.
app id: billy-jgeoz

Is there any reason for this? What can be done?

example request ids: 65ce41ff2bbde16e0e7e8bd9, 65ce42002bbde16e0e7e8bf9