add timeout to newrelic api calls

Resolves: #226