Go to your sent invites connection screen here: https://www.linkedin.com/mynetwork/invitation-manager/sent to remove any pending invites. Please note: If you're using LinkedIn automation software, most LinkedIn tools can do this step for you to save you time.