Fixed crash when client drops out.