You can cancel a pending request by doing the following:

1. Press on the friend’s icon on the home page.
2. Scroll down your friend’s list.
3. You find all the pending requests you have sent to players.
4. Click on the player you want to cancel the pending request and cancel it.