keep server instance in a shared_ptr

tracking PR