TestSuite on codeBuild get slow after the execution of 50 test

I have and issue. I built a test suite with 58 test, and I already upload to aws code build(CodeBuild or amazon are not the problem because I test in a local ubuntu machine and the same happened). The problem is that when I execute the testSuite everything is ok until the first 50 test are executioned, then the last 8 test are very slow.

The point where the test get slow, is in the step of get sessionId, like 4 minutes for test.

I don’t have katalonTestOp.

In the project I selected the option, Terminate drivers after each case, and didn’t help.

Also, I set some code line after every testcase