Properly closes the communication on exit ( When Pressing escape )
Merge pull request #33 from MorenoB/properly_close_communication

Properly closes the communication on exit ( When Pressing escape )