make gon threadsafe & fix specs