remove agent_connection