"w." shouldn't stop because of neutral NPCs (like villagers)
Doing "w." while in the village will stop as soon as any villagers come into view, or only last one turn if any villagers are already in view. The PC should just ignore them when doing extended resting.