test fix on TemporaryQueueTest

The test is now closing connections at the end. the previous assertion needed to be adapted
Merge pull request #1896 from clebertsuconic/2.3.x

test fix on TemporaryQueueTest