para_select(): Return a proper error code on errors.