adds client disconnet on sockets