Removed closeSink and closeSource now we just delete the object