close main queue test