Increased timeout while waiting for wifi to connect from 30 to 60s.
Missed something which was causing it to always use 2nd chance.
Only set fail_count to 1 if it is zero (o nmarionette error).
Merge pull request #98 from roydude/v1-train

V1 train