fixed: Calling WaitForData with full cache caused it to always block the max. of 5 seconds