{
if ( checkNotOffline( "ensureDefaultInstance" ) )
{
ensureDefaultInstance( getConfigConfig() );
final ConnectorServiceConfig cs = getConfigConfig().getConnectorServiceConfig();
final String value = cs.getShutdownTimeoutInSeconds();
assert( value != null );
try
{
final String newValue = "" + (Integer.parseInt( value ) + 1);
cs.setShutdownTimeoutInSeconds( newValue );
final String after = cs.getShutdownTimeoutInSeconds();
assert( after.equals( newValue ) );
cs.setShutdownTimeoutInSeconds( "30" );
cs.setShutdownTimeoutInSeconds( newValue );
}
catch( Exception e )
{
warning( getRootCauseStackTrace( e ) );