ruby/gem: also clear callbacks in case of multiple requests at once