added "wait until stream starts flowing", added constraints