>What timeout -t affects? Looks like nothing changed. For -t 5000 i can >retrieve PRIMARY after 5 seconds, before 5 seconds and at any time.
You're right, perhaps it's an xsel bug? Perhaps you could echo "password" | xsel -i sleep 0.5 xsel -c # or -d? Maybe xclip offers more