Force the kill of the "nc" process only if timeout

If the file is received correctly, the "nc" process in the remote
machine will end gracefully. Only in case of socket timeout, will force
the completion of the process before returning.

Change-Id: I6cec868daa0139f6a49807883f901d2eac84fe14
Related-Bug: #1838068
1 file changed