[PATCH 4/6] libxl: Handle domain death events in a thread