You can remove the device from Devices list off transfer waiting screen.
Nearby devices list
1. Go to Settings > Files transfer > Nearby devices
2. Turn off the 'Find nearby devices' option.
Recent devices list
1. Go to Settings > Files transfer > Recent device
2. Tap the delete button on each device or the delete all button.