Darragh Bailey a8655eaccc Fix timeout function and add capturing of messages on failure
Ensure process terminate is only called after checking whether the
process is still running so as not to accidentally set an exitcode.
Additionally include improved message exchange and capturing to allow
for easier debug should the expected exceptions not appear on socket
timeouts.

Change-Id: Ic51745ffa67570e9a3ca4574d2bfc54d0cd6724b
2015-08-17 18:09:19 +01:00
..
2012-05-17 16:10:00 +01:00