Adding ader close method

I made some changes, please review