prevent accepting an invite multiple times