Deallocation of poll selector in current thread