Close connection at the end of the examples.
Added docstrings to close() methods.
Closing/reconnect in Connection class improved.