prevent starting server twice