add close for sys monitoring