test fix on TemporaryQueueTest

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

test fix on TemporaryQueueTest