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

Change-Id: I8da9280eff5952c0850096e7ca0c4d640f19ed91