Subscriber portal
Makes sure that database operations are correctly closed if they fail.
private void dbOpInTransaction([boolean isWriteOperation])