API-Portal Errors (java.sql.SQLException: Already closed)