added global timeout option
removed $options param as it causes more problems than it solves
Merge pull request #19 from stage1/feature/global-timeout

Added global timeout option