added parameter to the connection constructor to pass a custom time limit
Merge pull request #5 from agallou/set_timeout

added parameter to the connection constructor to pass a custom time limit