OPP: Close InputStream properly

Use case :
1. Select many files and sent to remote device.
2. Donot accept the files on remote device and let
   it timeout.

Failure:
Client didn`t close the input stream.

Root Cause:
While closing output stream, I/O Error occurs because of
timeout which in turn leads remote device to close transport
and thereby preventing DUT from closing the FD.

Fix:
Catch Exception in closing OutputStream, and proceed with closing
File Info to prevent leak.

Test: Tried to send file and check if file is closed properly
during timeout exception preventing any FD leak.

Bug: 37838688
Change-Id: I0499e95e010814a3de49f16de8ce563c5515e991
1 file changed