agent.py: Bugfix (for _callback_inst_disk_io)