fixes dbankier/TiShadow#178
When running "spec --junit-xml", Instead of disconnecting the socket on the first TEST devile_log event, wait
for every connected device to report their results and then disconnects the socket.