Combine ConnectSink and Disconnect into one function named ConnectDisconnectSink