Habitipy loads the apidoc definitions during instantiation from a file. When using HabitipyAsync this should be done in an executor instead of the event loop as I/O operations can block the event loop.
This was fixed in Home Assistant but should maybe addressed also in Habitipy.