Add some defines to configure the wait time between two send retries. TODO make in conifgurable