[master] Test suite: Connection leak fixes