Minor doc fixes
Properly closing of JMX connections.

This is fixe introduced while examing the issue #170