Call close on stream