log errors with agent name
fixed killing of agents, let them deregister from DF