Bug 396930: Prevent global access that may trigger metamethods
Bug 396930,379965: Continue program execution when debug socket closes