Added the feature to close the host now, resolves #4, merge of 5bb0595, 3.0-unstable.
Merge remote-tracking branch 'origin/master'