Prevent double userLeave