Self-healing OS