safe-restart after installing plugins