From my experience this occurs when the centre of your player's Light2D node goes through your occluder tile.
This is caused by the centre of the player's Light2D not being within the player's collider shape. In your case it appears to be slightly above the player. This means the light source goes through top walls before the player stops.
To fix this, have you made sure that your player scene has the centre of its Light2D object inside the player's collider?