Dont we only want to clear the invocation callbacks on reconnecting IF the transport is websockets?