set prepareThreshold of the PGStatement to maximum value since otherwise the getAnno() functions will timeout