Fixed timeout for ConnectionHandler._invoke()

For `_invoke()` passed timeouts in milliseconds, but for `select()`, which uses lower, we need a second.