code: protected DatabaseConnection getSavedConnection() {
  		NestedConnection nested = specialConnection.get();
  		if (nested == null) {
  			return null;
  		} else {
  			return nested.connection;
  		}
  	}
docs: Returns the connection that has been saved or null if none.