canceling the threads as the joins were hanging under cgo usage and frankly we don't care about their result
don't want errors to be thrown if the threads are already canceled