#146 change behaviour of close. RI and TCK needs to be changed.