Fix readahead memory leak

This verifies and fixes #16