Close stream quietly.