[fix] Stop the reconnection procedure when `primus.end` is called