Destroy cgsems used after transfers to not leave open files on osx.
Merge branch 'master' of github.com:ckolivas/cgminer