driver pigcs: improve error message when controller timed out
script: only display the latest log