Cyclic wet drying of an epoxy coating using an ionic liquid