Move concurrent stuff from libextra to a separate package.