Fix bug in ErrorHandler when use ZF1 with PHPDaemon

I use ZF1 with PHPDaemon, my app always in memory. ErrorHandler does not work after first request with exception.