fix race condition for stream properties