added an uncaughtException handler to keyserver