Cleanly close the connection when the cancel button of the greeter is pressed

In this patch, we close cleanly the connection by initiating a close sequence
in RDP. This prevent a message in mstsc saying the connection was broken.
Merge pull request #8 from hardening/closefix

Cleanly close the connection when the cancel button is pressed