Waits until the queue has been closed. Returns immediately if already closed
@param timeout Number of milliseconds to wait. A value <= 0 means to wait forever
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.