Restore original config on disconnect from server