Fix Close method of Dataspace

The finalizer interfered with the Close method.
Standardize close functions
Merge pull request #14 from simleb/sclose

Fix Close method of Dataspace