Don't fail when pid cannot be coerced to int