retry select.select() on EINTR
Merge pull request #367 from cenkalti/master

retry syscall on EINTR