Text this: Path selection algorithm with minimal delay in wireless sensor networks