python: disconnect() nodes