Fix Vanilla Server exit detection