more robust parsing of skynet stdout