emit ready signal when reconnecting socket