attach listener to process's uncaughtException event if one is not there