tools/rctest: Fix file descriptor leak

Closed the file before returning from do_send function.
1 file changed