finishing queue loop test