remove stream monkeypatching