empty queue fix for client connection