Release resource lock when receiving a message from an alternative JID