Fix sockets

Oh, I see that initialized will be called on the same thread of the first `exec()`, which is the main thread. I don't think solve our problem now. I will send a follow-up commit to do the `Selector.open()` in the `SelectorThread`.