added ELSE statement to recover from error during CIPSEND