Improve Remote Python Executor error handling and