Update close method of DefaultLocalMessageStore