fix possible segfault with CachingReader::~CachingReader();

Found this by checking Bug #1193853, This is not a fix for this bug, But this is a fix for a potential segfault when closing Mixxx.