throwing away streams that are outside of endpoint