How to fixed an unpredictable hang or take a lot of time when create a DB2 Connection

I used a new laptop to execute some .NET Code + DB2 11.5.8 Database via ODBC / DB Factories / IBM DB2 .NET Data Provider) I found unpredictable hang or take a lot of time (about 20 minutes ++) to…