Rename connect to open  disconnect to close