Please add a flag to set the number of stratum connection retries before exiting the miner if a stratum connection fails/dies - I'd like to use this version in an automation script, but there's no clean way to shut it down

Just need a "--retries=###" type command-line parameter
