fix bug, i.e add checking ALLJOYN_SESSION_ALREADY_JOINED