BUG-904 add close method to abstract session class