Using PooledConnection for better recovery, outputting event logging for erros and warnings