CLOUDSTACK-6898: [Hyper-V] fixed rdp console freezing during reboot.

Console was freezing because we read data from socket in blocking mode.
During reboot it was blocking infintely.
To fix issue, now we are reading data in non-blocking mode.
In non-blocking mode I set the timeout to 5 seconds.
CLOUDSTACK-7503: Fixed few coverity issues