Fix spinlock wait for streams to be ready