only delete the keypair if we created it, else we get errors; also delay a bit before deleting