Changed natsOnConnect to natsOnReconnect and don't call it on first connection.