Added support: if tcp fails x number of times, a message is sent to a preset number on the sd card