Raise when connect is called twice