how about making this part  killing the child process and collecting logs  internal to the iw runner you could return a iweventlogger  or some such  object at the  start iw event or better yet create a context for it then you could get the event entries from this object it would look something like with self iw runner event logger as event logger time sleep timeout seconds event logger stop reassociate time event logger get reassociate time 