close the connection to the simulator from the client side (the
connector in this case)
Merge pull request #13 from halemmerich/connectionFailedFix

close the connection to the simulator from the client side (the