Fix irrelevant errors when zenpython is stopped.