Fixed an issue with the ReadQueue example class