Wait a little in createAndSendSMS for hte header to change before checking it.