Fix inloop if the server dies before the async -finish is called