BaseManager now has onClose()

Base of Close Handleing