handle request 500s more gracefully in the shell.