RP closes sd on shutdown.