added timeout with error reporting
Merge pull request #3 from totalcareauto/timeout

added timeout with error reporting