Updated Session.Close to send correct ID (Fixes #8).