Added support for the prepareThreshold property for turning off prepared statements