[libvroomjs] Added callback to dispose of managed references