Call getConnectionManager().shutdown() only once when stopping