Adding logs to the stream call to help debugging blocking calls