Disables the leapmotion if cannot connect

After 3 times
Merge pull request #38 from zqsd/develop

Disables the leapmotion if cannot connect