Fix for multipleStatements support within pools