Better close() implementaion