Don't use 'select'

The new runtime isn't quite mature enough to deal with it, and this
is faster anyway.

Rebased to land #728.