Fixed crash when server went away.