with and finally close