Fix some bugs

1. Bug in the router with the router mandatory feature
2. Bug in the TcpConnector causing too many file descriptor.
3. Bug in the poller adding existing sockets