Added Close to Manager which closes all existing connections and removes all handlers