Increase runtime.
- Handle expired deadlines properly.
- Handle return values from select() properly.