cleanup
made destructor call lose_connection