socket user not defined on delete