also add one more handle (e.g. eventfd handle) to break polling and stop thread gracefully