Attempt partial recovery of REPL namespace on error