generate wrapper inside constructor
disconnect_private