We should not just kill the server out of the sudden

Maybe I don't fully understand how TS constructors work but shouldn't `counter` be in the `Class` scope?