Added method CloseStreams, does what name implies.