Added zend driver flushing