I changed `cleanup/0` to only unset the cowboy dispatching rules (and added a separate method for stopping the listener), so this is fixed now.