Close fd if polling thread is disabled
am: b86e9b0b63

Change-Id: I75cfb968941e3bcee6db29f51bc47686b859e702