Configured the JDBC pool to prevent the DB from timing out and causing SQLExceptions.