If the application forks, close the fd inherited from the parent. Change-Id: I48e4157d5f0d6f04d07ecb23b719a23934687cdb Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> [ROCm/ROCR-Runtime commit: dc6ece67fd]
dc6ece67fd