Description
- Use Array-backed collection instead of LinkedList
- Ignore calls to close() after the initial call
- Clear the queue after close is called to let garbage collection do its magic on the items inside of it
- Fix int-to-long conversion issue (overflow)
- Remove superfluous white space