Now the data created in setUp() is not discarded when the connection is closed in the handler's methods.
Thanks to baumer1122 for the suggestion and initial patch and David Fischer for the contributions and long term patch maintenance and docs.