The certificate message should be a warning which you can ignore.
Have a look at the Set-PowerCLIConfiguration cmdlet, it allows you set the behavior.
You can also change or disable the timeout value with the same cmdlet, but be aware that there is a risk if you completely disable the timeout.
Do you get any messages when you encounter the timeout ?