process: Add timeout to select call

On some machines, a hang has been noticed where the system sits in
the select call despite the task having completed.

The exact reasons for this as unknown but adding a timeout unblocked
the builds and resolved the hangs in question.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>