[Test] testHostOnMessages - only decrease latch after setting transport addresses