Bug fix: crash when remote proxy crashed.