conn.close();
//log.info("Database connection closed: ");
} catch (SQLException e) {
String msg = "Failed to close transaction. " + e.getMessage();
log.error(msg, e);
throw new BillingException(msg, e);
} finally {
Transaction.setStarted(false);
Transaction.setConnection(null);
}