How to Ensure Pipeline Safety During Power Outages: Fail-Safe Valve Solutions