When fetch() is called with a duration and no messages exist memory is leaked
How to reproduce
Create a queue
Run attached code example
Watch memory stats
Example memory stats while running the above
Memory does not seem to be leaked if there are messages waiting on the queue or if no duration is provided and messages are present on the queue.