empty queue fix for client connection
add a client connection timeout