Increase terminus_request() timeout to match server.
Explicitly check curl resource in terminus_request().
Merge pull request #188 from iamEAP/timeout

Fix infinite loop caused by edge case during terminus_job_poll()