Fix issue releasing allocated elastic ip.