DatabaseAccessor not connected and Eingabe/Ausgabe-Fehler

The database has no connection timeouts which disconnect you after only some seconds.
my bet is the connection pooler - maybe it is using different connections for each query or has very small timeout settings.