Clear out octokit client after each run to avoid memory issues

Really hacky, but I can't track down what leaks, see test script

require 'octokit'

def stored_string_length
	ObjectSpace.each_object(String).to_a.map{|s|s.length}.inject(:+).to_s
end

Octokit.auto_paginate = true

client = Octokit::Client.new
puts stored_string_length # 914961
logins = client.issues('silverstripe/silverstripe-framework').map{|issue|issue.user.login}
GC.start
ObjectSpace.garbage_collect
puts stored_string_length # 3057695

logins = nil
GC.start
ObjectSpace.garbage_collect
puts stored_string_length # 1354090

client = nil
GC.start
ObjectSpace.garbage_collect
puts stored_string_length 1354090
Forum stats