Do not sleep nor print out messages on the 0th attempt to reconnect.
Yao-Yuan Mao
Branch: yymao/rockstar:master
Branch: gfcstanford/rockstar:master
Merged
Merged pull request
Merged in yymao/rockstar (pull request #2)
Merged in yymao/rockstar (pull request #2)
Rockstar generates a very large output file when it prints out every reconnection attempt (and I feel this also makes it run slower).
For most cases, the 0th reconnection attempt would succeed, so we can suppress the message for the 0th attempt.