close ssh connection on halt

Using Jruby, when reloading a VM or even halt/up process lead to ssh connection issues. Just closing the channel after halt it solve the problem.

Tested with Jruby 1.6.7