also when you will add eventfd handle, process it for graceful exit from thread