Is there a way to detect multiple resource connections? I want to run a bot that connect to the server but it need to detect if connected with same resource and try to connect again with other. I'm using jabberd2s8 as server.