ppoll failure handling code