Use separate timeout for each AP connection attempt.
Merge pull request #20 from damellis/timeout-fix

Use separate timeout for each AP connection attempt.