close implemented but not tested throughly.