To avoid errors in tests, servers are always closed after each test