Make the parsing more robust to errors and unresponsive ports