added retries to some messages

added retries (on timeout) to the base station messages and the data
messages for the nodes (not the ack messages for the nodes).