clean up poll handle data in close() function so that assert() won't fail