Set netwait to 10ms if a signal is pending.
Set netwait to 10ms if a signal is pending.

If a signal is delivered after the signal check in the worker
loop we could end up in a scenario where we wait for i/o to
start triggering it.

jorisvink/kore,jorisvink/kore