Add delay in case if StreamFinish flag is obtained
Even if StreamFinish flag is obtained stream may contain non-acknowledged messages. In this case it make sense to wait for a few seconds until the next call get_next.
Even if StreamFinish flag is obtained stream may contain non-acknowledged messages. In this case it make sense to wait for a few seconds until the next call get_next.