`uncaughtException` middleware for connect, base on `domain` module.