added destroyStream method removes stream from object