fix stream progress notification with resetting bytes_max