start a ```try:``` block here, and put the close operation below in a ```finally:```