cleanup both attribute IOLoop and the singleton in the child