readSteam randomly stops

Reading a stream from the Azure data lake works just fine but after some minutes the input rate drops to 0 (even though there is plenty of input coming). Is this related to some timeout and how can it be avoided? The stream should run endlessly.