fix for a case when code  running through Thread.new expects to find Recurly.api_key that was set in thr main thread #159