Use network scheduler instead of threads to log in

This enforces the limit of concurrent connections.
Do not require a context to check if currently active network is connected