Text this: Adaptive time synchronization in time sensitive-wireless sensor networks based on stochastic gradient algorithms framework