Fixed the issue that the fd of native_handle_t wasn't closed. am: ece7d9646d
am: 99f3d7ce6e

Change-Id: I6895f43862320e1f41fc3d1aa89e305f932f8a35