Added more logging to instrument_driver, set _done flag in port_agent_client