Fixes #23
Request: Timeout for api calls
Added documentation for the setTimeout methods