Handle io watch error conditions gracefully