made onSuccess() handler for Connect() trigger on socket open event